@import "../../colors";
@import "../../frameless";

#view {
    padding: 0;
}

.inner.mod-splash {
    margin-top: 20px;
}

.splash {
    .splash-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;

        .ie9 & {
            display: table;
            margin: 0 -20px 20px -20px;
            min-width: 100%;
            border-spacing: 20px 0;
        }

        .box {
            display: inline-block;
            width: calc(60% - 20px);

            .ie9 & {
                display: table-cell;
                vertical-align: top;
            }
        }

        .news {
            width: 40%;

            img {
                flex-shrink: 0;
            }
        }
    }

    .box {
        margin-bottom: 20px;
    }
}

.splash-admin-panel {
    dl {
        list-style: none;

        dt {
            margin: 2rem 0 1rem 0;
            border-bottom: 1px solid $ui-dark-gray;
            font-size: large;
            font-weight: 700;
        }

        dd {
            margin-left: 0;
        }
    }

    ul {
        padding: 0;

        li {
            margin: 0;
            list-style: none;

        }
    }
}

.modal-content.mod-confirmation {
    width: 31.25rem;
}

.modal-content-iframe.mod-confirmation {
    border-radius: 1rem;
    width: 31.25rem;
    min-height: 20.625rem;
}

.activity-ul {
    margin: 0;
    padding: 0;
}

.activity-li {
    display: flex;
    margin: .75rem 0;
    list-style: none;
    align-items: center;
}

.flex-row.mod-social-message {
    line-height: 1.25rem;
    flex-direction: column;
}

.social-message {
    border: 0;
    padding: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.activity-img {
    padding-right: .825rem;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
}

.social-message-content {
    font-size: .9rem;
}

.social-message-date {
    color: $ui-dark-gray;
    font-size: .65rem;
}

//4 columns
@media #{$small} {
    .splash {
        .splash-header {
            flex-wrap: wrap;
            justify-content: center;

            .box {
                width: $cols4;
            }
        }
    }

    .modal-content.mod-confirmation {
        width: 100%;
        overflow: scroll;
    }

    .modal-content-iframe.mod-confirmation {
        border-radius: 0;
    }
}

//6 columns
@media #{$medium} {
    .splash {
        .splash-header {
            flex-wrap: wrap;
            justify-content: center;

            .box {
                width: $cols6;
            }
        }
    }

    .modal-content.mod-confirmation {
        width: 100%;
        overflow: scroll;
    }

    .modal-content-iframe.mod-confirmation {
        border-radius: 0;
        width: $mobileIntermediate - 1;
    }
}

//6 columns
@media #{$intermediate} {
    .splash {
        .splash-header {
            margin: 0 auto;
            width: $cols8;
        }
    }
}
